Builder

class Builder

A builder of KeyEventParams.

Builders are created by invoking newBuilder. Each of the setter methods modifies the state of the builder and returns the same instance. Builders are not thread-safe and should not be used concurrently from multiple threads without external synchronization.

Functions

Link copied to clipboard
open fun build(): KeyEventParams
Returns a new KeyEventParams instance built from the current state of this builder.
Link copied to clipboard
Sets a string that contains either a UTF-8 character associated with the physical key or one of the predefined values.
Link copied to clipboard
open fun domKeyCode(code: DomKeyCode): KeyEventParams.Builder
Sets the code of the physical key.
Link copied to clipboard
Sets the DOM UI event parameters with the key modifiers.